#ifndef _STRUCTS_H_
#define _STRUCTS_H_

#include "defines.h"


typedef struct _d2im_cfg{
    als_disp                *disp;
    als_cfg                 *cfg_file;
    char                    *title;

    int                     width;
    int                     height;
    int                     full_screen;
    int                     fps;
}d2im_cfg;

typedef struct _d2im{
    als_disp        *disp;
    als_timer       *timer;
    als_evtq        *evtq;

    d2im_cfg        cfg;

    int             state;
    als_evt         cur_evt;
}d2im;

#endif
